#include "processpool.hpp"

int main()
{
    ProcessPool pp(pross_num);

    //启动进程池
    pp.start();
    
    int cnt = 10;
    while(cnt--)
    {
        pp.run();
        sleep(1);
    }
    pp.StopProcess();
    return 0;
}